package vip.zhenzicheng.jpa.repository;

import org.springframework.data.jpa.repository.JpaRepository;
import org.springframework.data.jpa.repository.JpaSpecificationExecutor;
import org.springframework.stereotype.Repository;
import vip.zhenzicheng.jpa.domain.entity.Student;

/**
 * 为了能够使用复杂 sql 查询，需要集成 JpaSpecificationExecutor 的功能
 *
 * @author zhenzicheng
 * @date 2023-04-17 16:30
 */
@Repository
public interface StudentRepository extends JpaRepository<Student, Integer>, JpaSpecificationExecutor<Student> {
}
